chore(ci): update GitHub Actions to latest versions with Node.js 24 support#54885
Closed
salmanmkc wants to merge 1 commit intofacebook:mainfrom
Closed
chore(ci): update GitHub Actions to latest versions with Node.js 24 support#54885salmanmkc wants to merge 1 commit intofacebook:mainfrom
salmanmkc wants to merge 1 commit intofacebook:mainfrom
Conversation
…upport ## Summary Update all `actions/*` GitHub Actions to their latest versions to ensure compatibility with Node.js 24 and prepare for the deprecation of Node.js 20 on GitHub Actions runners. See: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/ ## Version Updates | Action | Previous | Current | |--------|----------|---------| | actions/checkout | v4 | v6 | | actions/github-script | v6 | v8 | | actions/setup-node | v4 | v6 | | actions/setup-java | v2/v4 | v5 | | actions/upload-artifact | v4/v4.3.4 | v6 | | actions/download-artifact | v4/v4.1.3 | v7 | | actions/cache/restore | v4 | v5 | | actions/cache/save | v4 | v5 | | actions/stale | v9 | v10 | ## Key Changes - All actions now run on Node.js 24 by default - Minimum Actions Runner version required: v2.327.1 - Updated 32 workflow and composite action files ## Test Plan - PR-triggered workflows (test-all.yml, danger-pr.yml) will validate core CI - Other workflows will be validated when their respective triggers occur (schedules, releases, issue events)
Contributor
|
@salmanmkc Amazing job, thanks for taking the time and updating our CI pipeline. |
|
@cipolleschi has imported this pull request. If you are a Meta employee, you can view this in D89178299. |
|
@cipolleschi merged this pull request in b9ac408. |
Collaborator
|
This pull request was successfully merged by @salmanmkc in b9ac408 When will my fix make it into a release? | How to file a pick request? |
Contributor
Author
My pleasure, thanks for quickly reviewing this! Let me know if there's any issues going foward with it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates all
actions/*GitHub Actions to their latest versions to ensure compatibility with Node.js 24 and prepare for the deprecation of Node.js 20 on GitHub Actions runners.Changelog:
[Internal] [Changed] - Updated GitHub Actions to latest versions with Node.js 24 support
Version Updates
actions/checkoutactions/github-scriptactions/setup-nodeactions/setup-javaactions/upload-artifactactions/download-artifactactions/cacheactions/staleWhy
GitHub is deprecating Node.js 20 on Actions runners. The new versions of these actions now run on Node.js 24 by default (
runs.using: node24).Requirements
Test Plan
test-all.yml,danger-pr.yml) will validate core CI